﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="News_Scro.aspx.cs" Inherits="BtoBSWT315.Ascx.News_Scro" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>

    <form id="form1" runat="server">
    
    <div>
    <script language="javascript" type="text/javascript">
        var nn;
        nn = 2;
        setTimeout('change_img()', 3000);
        function change_img() {
            if (nn > 5) nn = 1
            setTimeout('setFocus1(' + nn + ')', 3000);
            nn++;
            tt = setTimeout('change_img()', 3000);
        }
        function setFocus1(i) {
            selectLayer1(i);
        }
        function selectLayer1(i) {
            switch (i) {
                case 1:
                    document.getElementById("newsPic1").style.display = "block";
                    document.getElementById("newsPic2").style.display = "none";
                    document.getElementById("newsPic3").style.display = "none";
                    document.getElementById("newsPic4").style.display = "none";
                    document.getElementById("newsPic5").style.display = "none";
                    break;
                case 2:
                    document.getElementById("newsPic1").style.display = "none";
                    document.getElementById("newsPic2").style.display = "block";
                    document.getElementById("newsPic3").style.display = "none";
                    document.getElementById("newsPic4").style.display = "none";
                    document.getElementById("newsPic5").style.display = "none";
                    break;
                case 3:
                    document.getElementById("newsPic1").style.display = "none";
                    document.getElementById("newsPic2").style.display = "none";
                    document.getElementById("newsPic3").style.display = "block";
                    document.getElementById("newsPic4").style.display = "none";
                    document.getElementById("newsPic5").style.display = "none";
                    break;
                case 4:
                    document.getElementById("newsPic1").style.display = "none";
                    document.getElementById("newsPic2").style.display = "none";
                    document.getElementById("newsPic3").style.display = "none";
                    document.getElementById("newsPic4").style.display = "block";
                    document.getElementById("newsPic5").style.display = "none";
                    break;
                case 5:
                    document.getElementById("newsPic1").style.display = "none";
                    document.getElementById("newsPic2").style.display = "none";
                    document.getElementById("newsPic3").style.display = "none";
                    document.getElementById("newsPic4").style.display = "none";
                    document.getElementById("newsPic5").style.display = "block";
                    break;
            }
        }
</script>
    <table id="Table2" cellspacing="0" cellpadding="5" width="260" align="center" border="0"
    bgcolor="#f8f8f8">
    <tr>
        <td style="position: relative" valign="top" width="260">
            <table style="border-right: #9ec9eb 1px solid; border-top: #9ec9eb 1px solid; border-left: #9ec9eb 1px solid;
                border-bottom: #9ec9eb 1px solid" width="260">
                <tr>
                    <td>
                        <div id="ImgChangeMain">
                            <div id="newsPic1" style="display: block">
                                <a href='http://cao364907421.cn.alibaba.com/?asker=ATC' target="_blank">
                                    <%--<asp:Image ID="Image1" Height=190 Width=260 runat="server" BorderWidth="1" BorderColor="#808080" ImageUrl='<%=url1%>' /> --%>
                                    <img height="190" src="../Ad_Images/TopNews/1.png" width="260" border="0">
                                </a>
                                <table style="clear: both; margin: auto" cellspacing="1" cellpadding="0" width="100%"
                                    align="right" border="0">
                                    <tbody>
                                        <tr align="center" bgcolor="#9ec9ec">
                                            <td bgcolor="#e2eaf7">
                                                &nbsp;
                                            </td>
                                            <td style="color: #ffffff" width="26" bgcolor="#0049a5">
                                                1
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(2)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                2
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(3)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                3
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(4)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                4
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(5)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                5
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                            <div class="ImgChange1" id="newsPic2" style="display: none">
                                <a href="http://www.333hl.com/" id="topid2" target="_blank">
                                    <img height="190" src="../Ad_Images/TopNews/2.jpg" width="260" border="0"></a>
                                <table style="clear: both; margin: auto" cellspacing="1" cellpadding="0" width="100%"
                                    align="right" border="0">
                                    <tbody>
                                        <tr align="center" bgcolor="#9ec9ec">
                                            <td bgcolor="#e2eaf7">
                                                &nbsp;
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(1)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                1
                                            </td>
                                            <td style="color: #ffffff" width="26" bgcolor="#0049a5">
                                                2
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(3)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                3
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(4)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                4
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(5)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                5
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                            <div class="ImgChange1" id="newsPic3" style="display: none">
                                <a href="http://www.apxwwy.com/cn/index.asp" target="_blank">
                                    <img height="190" src="../Ad_Images/TopNews/3.gif" width="260" border="0"></a>
                                <table style="clear: both; margin: auto" cellspacing="1" cellpadding="0" width="100%"
                                    align="right" border="0">
                                    <tbody>
                                        <tr align="center" bgcolor="#9ec9ec">
                                            <td bgcolor="#e2eaf7">
                                                &nbsp;
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(1)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                1
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(2)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                2
                                            </td>
                                            <td style="color: #ffffff" width="26" bgcolor="#0049a5">
                                                3
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(4)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                4
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(5)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                5
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                            <div class="ImgChange1" id="newsPic4" style="display: none">
                                <a href="http://www.df-wiremesh.cn/" target="_blank">
                                    <img height="190" src="../Ad_Images/TopNews/4.jpg" width="260" border="0"></a>
                                <table style="clear: both; margin: auto" cellspacing="1" cellpadding="0" width="100%"
                                    align="right" border="0">
                                    <tbody>
                                        <tr align="center" bgcolor="#9ec9ec">
                                            <td bgcolor="#e2eaf7">
                                                &nbsp;
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(1)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                1
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(2)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                2
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(3)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                3
                                            </td>
                                            <td style="color: #ffffff" width="26" bgcolor="#0049a5">
                                                4
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(5)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                5
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                            <div class="ImgChange1" id="newsPic5" style="display: none">
                                <a href="http://www.apjianying.com/" target="_blank">
                                    <img height="190" src="../Ad_Images/TopNews/5.jpg" width="260" border="0"></a>
                                <table style="clear: both; margin: auto" cellspacing="1" cellpadding="0" width="100%"
                                    align="right" border="0">
                                    <tbody>
                                        <tr align="center" bgcolor="#9ec9ec">
                                            <td bgcolor="#e2eaf7">
                                                &nbsp;
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(1)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                1
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(2)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                2
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(3)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                3
                                            </td>
                                            <td onmouseover="this.style.color='#FFFFFF';this.style.backgroundColor='#0049A5'"
                                                style="cursor: pointer" onclick="javascript:setFocus1(4)" onmouseout="this.style.color='#004AA7';this.style.backgroundColor='#9EC9EC'"
                                                width="26" bgcolor="#9ec9ec">
                                                4
                                            </td>
                                            <td style="color: #ffffff" width="26" bgcolor="#0049a5">
                                                5
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                        <!--ImgChangeMain End-->
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
    </div>
    </form>
</body>
</html>
